import React, { FC } from "react";
import styles from "./css/header_title.module.scss";
import HeaderIcon from "./HeaderIcon";
interface HeaderTitlePropsType {
  title: string;
}
const HeaderTitle: FC<HeaderTitlePropsType> = (props: HeaderTitlePropsType) => {
  const { title } = props;
  return (
    <div className={styles.container}>
      <div className={styles.icon}>
        <HeaderIcon />
      </div>
      <div className={styles.title}>{title}</div>
      <div className={styles.hr_icon}>
        <div></div>
        <div></div>
      </div>
    </div>
  );
};

export default HeaderTitle;
